﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetDiskPRJ.Model
{
    public class SysComboControl
    {
        public SysComboControl()
        { }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name
        {
            set;
            get;
        }

        /// <summary>
        /// 值
        /// </summary>
        public string Value
        {
            set;
            get;
        }

        public FormatType FormatType
        {
            set;
            get;
        }

        public override string ToString()
        {
            return Name;
        }


    }
    /// <summary>
    /// 字段类型
    /// </summary>
    public enum FormatType
    {
        None = 0,
        Numeric = 1,
        DateTime = 2,
        Custom = 3,
    } 
}
